package com.xzit.headline.fragment;

import android.content.Intent;
import android.view.View;
import android.widget.Button;
import android.widget.Toast;

import com.xzit.headline.R;
import com.xzit.headline.activity.FavouriteActivity;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class UserFragment extends BaseFragment {
    @BindView(R.id.button)
    Button button;

    @Override
    public View getMyView() {
        View view = View.inflate(getContext(), R.layout.fragment_user, null);
        ButterKnife.bind(this, view);
        return view;
    }

    @OnClick(R.id.button)
    public void onViewClicked() {
        Intent intent = new Intent(getContext(), FavouriteActivity.class);
        getActivity().startActivity(intent);
    }
}
